package com.loongtech.bi.entity.realTime;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "realtime_mac_third_left")
public class EntityMacThirdLeftByDay implements Serializable {
	private static final long serialVersionUID = 2L;

	@Id
	private Date day; // 日期
	@Id
	private String serverid;
	@Id
	private String channelid;
	@Id
	private String platformid;
	@Column(columnDefinition = "int(11) NOT NULL default 0")
	private int maccreatenum;
	@Column(columnDefinition = "int(11) NOT NULL default 0")
	private int loginmacnum;
	@Column(columnDefinition = "float NOT NULL default 0.0")
	private float mac_third_left;

	public Date getDay() {
		return day;
	}

	public void setDay(Date day) {
		this.day = day;
	}

	public String getServerid() {
		return serverid;
	}

	public void setServerid(String serverid) {
		this.serverid = serverid;
	}

	public String getChannelid() {
		return channelid;
	}

	public void setChannelid(String channelid) {
		this.channelid = channelid;
	}

	public String getPlatformid() {
		return platformid;
	}

	public void setPlatformid(String platformid) {
		this.platformid = platformid;
	}

	public int getMaccreatenum() {
		return maccreatenum;
	}

	public void setMaccreatenum(int maccreatenum) {
		this.maccreatenum = maccreatenum;
	}

	public int getLoginmacnum() {
		return loginmacnum;
	}

	public void setLoginmacnum(int loginmacnum) {
		this.loginmacnum = loginmacnum;
	}

	public float getMac_third_left() {
		return mac_third_left;
	}

	public void setMac_third_left(float mac_third_left) {
		this.mac_third_left = mac_third_left;
	}

}